package com.study.happystudy.po;

import lombok.Data;

@Data
public class PsyTestRecord {
    private int id;// id
    private int userId;// 用户id
    private int score;// 分数
    private String result;// 结果
    private String analysis;// 结果分析
    private String advice;// 建议
    private String testTime;// 日期
    private String chickenSoup;// 鸡汤

    public PsyTestRecord(int userId, int score, String result, String analysis, String advice, String chickenSoup) {
        this.id = -1;
        this.testTime = "2077-01-01";

        this.userId = userId;
        this.score = score;
        this.result = result;
        this.analysis = analysis;
        this.advice = advice;
        this.chickenSoup = chickenSoup;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public String getTestTime() {
        return testTime;
    }

    public void setTestTime(String testTime) {
        this.testTime = testTime;
    }

    public String getChickenSoup() {
        return chickenSoup;
    }

    public void setChickenSoup(String chickenSoup) {
        this.chickenSoup = chickenSoup;
    }
}
